<template>
  <div>
    <el-tag v-if="status == 1" type="success">已生效</el-tag>
    <el-tag v-else-if="status == 0" type="danger">审核未通过</el-tag>
    <el-tag v-else type="info">等待审核</el-tag>
  </div>
</template>

<script>
import { mapState } from 'vuex';
export default {
  computed: {
    ...mapState('pageForm', {
      status: state => state.responseData.status
    })
  }
};
</script>
